//导入node的express框架
const express = require('express')
//导入用户路由处理函数模块
const staticHandler = require('../router_handler/static.js')

const router = express.Router()

//用户目录句柄储存
router.post('/chatApp/savedir', staticHandler.saveDir)
//获取静态文件资源
router.get('/chatApp/file/:filename', staticHandler.readFile)

module.exports = router
